<template lang="pug">
  s-table(
    ref="table"
    reqUrl="crm/web/attachment/page"
    :column="tableObj.column"
    :queryPropsParams="query"
  )
</template>
<script>
import { attachColumn } from '../config'

export default {
  props: {
    query: {
      type: Object,
      default: () => ({})
    }
  },
  data () {
    return {
      tableObj: {
        column: attachColumn
      }
    }
  }
}
</script>
